package cn.wolfcode.luowowo2.article.service;

import cn.wolfcode.luowowo2.article.domain.Travel;
import cn.wolfcode.luowowo2.common.query.TravelQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Albert on 2019/7/9.
 */
public interface ITravelService {
    PageInfo<Travel> query(TravelQueryObject qo);

    Travel get(Long id);

    List<Travel> getByViewNumTop3(Long id);

    Long saveOrUpdate(Travel travel);

    List<Travel> list();
}
